/**
 * Created by nengjian on 2017/5/16.
 */
var _          = require('lodash'),
    knex          = require('knex'),
    bookshelf  = require('bookshelf'),
    Promise    = require('bluebird'),
    uuid       = require('node-uuid'),
    _config    = require("../../../config/config.default"),
    wxingBookshelf;

wxingBookshelf = bookshelf(knex({
    client: 'mysql',
    connection: {
        host     : '127.0.0.1',
        user     : 'root',
        password : '8080',
        //password : 'wangxiao',
        //database : 'wxing-cms',
        database : 'ghost',
        charset  : 'utf8'
    }
}));

module.exports = wxingBookshelf;

